-- GENERATED SPELL FOR [Venture Co. Engineer] --


function spell0_3992(pUnit, Event) --@Throw Dynamite,n/a--
pUnit:FullCastSpellOnTarget(7978,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3992', 1000, 1)
end

function Sorts_3992(pUnit, Event)
local choix_sorts_3992 = math.random(0, 0)
if choix_sorts_3992 == 0 then
pUnit:RegisterEvent('spell0_3992', 1, 1)
end
end

function mob3992_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3992', math.random(1500, 3000), 1)
end

function mob3992_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3992_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3992_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3992, 1, 'mob3992_Action')
RegisterUnitEvent(3992, 2, 'mob3992_Leave')
RegisterUnitEvent(3992, 3, 'mob3992_Kill')
RegisterUnitEvent(3992, 4, 'mob3992_Die')
